<?php
/**
 * Author: 孙武 QQ:1228746736
 * Date: 2017/12/2
 * Time: 15:28
 */

//require_once './WechatTools.class.php';
//$tool=new \wechat\WechatTool('wxfe7927ebbe6ef42a','71e8bdc64676dabf34cbe3c1b2e74413');
//$tool->checkSignature('111');

namespace wechat;
require_once './WechatKF.class.php';
header("Content-type: text/html; charset=utf-8");


$appId='wx4ba04fa9163a1473';
$appSecret='066201c53482c471fc6ebf97f0727ca9';
try{
    $kf=new WechatKF($appId,$appSecret);
    $kf->sendCustomerMsg();
}catch (\Exception $e){
    dump($e->getMessage());
    exit;
}
